package Product;

public class Product {

	private double price;
	private String name;
	
	// Creates new Product and sets price
	public Product(String setName, double currentPrice)
	{
		name = setName;
		price = currentPrice;
	}
	
	public void reducePrice(double sale)
	{
		price = price - sale;
	}
	// Gets product Name
	public String getName()
	{
		return name;
	}
	
	//Gets product Price
	public double getPrice()
	{
		return price;
	}
	
}